package org.dromara.chicken.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapper;
import org.dromara.chicken.domain.ChickenFeedOut;

/**
 * 鸡场投喂Mapper接口
 *
 * @author Mr Lei
 * @date 2024-05-29
 */
@Mapper
public interface ChickenFeedOutMapper extends BaseMapper<ChickenFeedOut> {

    /*列表查询-多表关联*/
    Page<ChickenFeedOut> queryPageList(@Param("page") Page<ChickenFeedOut> page, @Param("bo") ChickenFeedOut bo);
    /*//查询主表*/
    ChickenFeedOut findById(Long id);

    /*生成默认标题*/
    Integer selectByDateCunt(String formatDate);


}
